import Home from "./views/Home";
import Game from "./views/Game";
import SE from "./views/SE";
import My from "./views/My";
import Search from "./views/Search";
import Detail from "./views/Detail";

const routes = [
  { path: "/Game", component: Game }, //游戏
  { path: "/SE", component: SE }, //软件
  { path: "/My", component: My }, //管理
  { path: "/Search", component: Search }, //搜索页
  { path: "/Detail", component: Detail }, //详情页
  { path: "/", component: Home, exact: true }, //首页
];

export default routes;
